package com.sto.stoapp.widget;



import com.sto.stoapp.activity.R;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;

public class LockScreenLayout extends LinearLayout {
	/**
	 * 记录锁的宽度
	 */
	public int width;

	/**
	 * 记录锁的高度
	 */
	public int height;

	/**
	 * 锁的背景图片
	 */
	private ImageView lockImg;

	public LockScreenLayout(Context context) {
		super(context);
		LayoutInflater.from(context).inflate(R.layout.sto_lock_screen, this);
		lockImg = (ImageView) findViewById(R.id.lock_img);
		width = lockImg.getLayoutParams().width;
		height = lockImg.getLayoutParams().height;
	}
}
